package com.community.web.user.mapper;

import com.community.model.entity.Carts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.community.model.entity.OrderDetail;
import com.community.web.user.vo.CartInfoVo;

import java.util.List;

/**
* @author admin
* @description 针对表【carts】的数据库操作Mapper
* @createDate 2024-07-02 10:56:56
* @Entity com.community.model.entity.Carts
*/
public interface CartsMapper extends BaseMapper<Carts> {

    List<CartInfoVo> selectByUserId(Long userId);

    List<OrderDetail> selectListByIds(List<Long> cartIdList);
}




